package public

import (
	"github.com/hwcer/cosgo/registry"
	"github.com/hwcer/yyds/context"
)

func init() {
	Register(&log{})
}

type log struct {
}

func (this *log) Caller(node *registry.Node, handle *context.Context) interface{} {
	f := node.Method().(func(*log, *context.Context) interface{})
	return f(this, handle)
}

/**
 * @name push
 * @param string data 数据
 * 写入一条行为日志
 */
func (this *log) Push(c *context.Context) interface{} {
	return nil
}
